package com.qiusuo0226.platform.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.qiusuo0226.mysql.pojo.CommonEntity;
import com.qiusuo0226.platform.constant.Tables;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.JdbcType;

import java.io.Serializable;

/**
 * @author qiusuo
 * @date 2024/3/14 18:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = Tables.SYS_VSERSION)
@Table(name = Tables.SYS_VSERSION, comment = "系统模块：系统版本升级记录表")
public class SysVersionPO extends CommonEntity implements Serializable {

    private static final long serialVersionUID = -2477853127368302244L;

    /**
     * 版本
     */
    @TableField(value = "execute_version" , jdbcType = JdbcType.VARCHAR)
    @Column(name = "execute_version", type = MySqlTypeConstant.VARCHAR, length = 255, comment = "执行记录版本")
    public String executeVersion;

    /**
     * 开发者名称
     */
    @TableField(value = "developer" , jdbcType = JdbcType.VARCHAR)
    public String developer;

    /**
     * 版本描述
     */
    @TableField(value = "description" , jdbcType = JdbcType.VARCHAR)
    public String description;

    /**
     * 版本排序
     */
    @TableField(value = "sort_num" , jdbcType = JdbcType.INTEGER)
    public int sortNum;


}
